package org.darkforest.common.services.impl;

import org.darkforest.common.services.MemberFriendsService;
import org.darkforest.dao.mapper.MemberFriendsMapper;
import org.darkforest.model.MemberFriends;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by pc on 2017/4/7.
 */
@Service
public class MemberFriendsServiceImpl implements MemberFriendsService {
    @Autowired
    private MemberFriendsMapper memberFriendsMapper;
    @Override
    public MemberFriends selectByCondition(MemberFriends record) {
        record.setResultList(memberFriendsMapper.selectByCondition(record));
        return record;
    }
}
